set field in list linq

94

set field in list linq -

collection.ToList().ForEach(c => c.PropertyToSet = value);

Comments

Submit
0 Comments